﻿using System.Runtime.InteropServices;

namespace HuaWeiCamera.Struct
{
    /// <summary>
    /// 图片信息
    /// </summary>
    public struct PU_IMAGE_INFO_LIST
    {
        /// <summary>
        /// 抓拍时间
        /// </summary>
        public uint ulSnapTime;
        /// <summary>
        /// 图片大小
        /// </summary>
        public uint ulContentSize;
        /// <summary>
        /// 图片名
        /// </summary>
        public string szContentID;
        /// <summary>
        /// 关联录像信息(仅电子警察设备有效,且IVS_PU_GetITSSnapshotPicList有指定违章类型)
        /// </summary>
        public PU_ASSOCIATE_RECORD_INFO stRecordInfo;
        /// <summary>
        /// 预留
        /// </summary>
        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 32)]
        public byte[] szReserved;
    }
}
